AL SET CAPTURE DEVICE

This function will manually set the capture device to use with DarkAL when capturing audio. The audio capture device works seperately from the audio output device. So you do not need to have the audio output device initialized in order to capture audio, but it would be wise, if your aim is to convert the captured audio data into a sound source. Some sound cards automatically disable capture devices when no peripherals are connected to them, so if your system has a capture device, but it is not detected by DarkAl, try plugging in a mic or similar first.

  Syntax
AL SET CAPTURE DEVICE deviceIndex
  Returns

This function does not return a value.

  Parameters
deviceIndex
The Index of the capture device you would like DarkAL to use. For example, if the system has 2 audio capture devices, index 1 will be the first device and index 2 will be the second device. This value ranges from 1 to the number of audio devices the system has installed.
  See also

DarkAL Function Menu